.TH 42SH 1.0 "November 28th 2010" UNIX MAN
.SH NAME
.HP
This is a SHELL made by a group of EPITA's students
.SH SYNOPSIS
.HP
\fB42sh\fP \fB\fP\fI[OPTIONS] [FILE]\fP\fB\fP
.SH DESCRIPTION
.LP
\fB42SH\fP execute shell commands. It can be called with the -c \fB\fP\fIoption\fP\fB\fP
with a string or interractive mode. When called with a \fB\fP\fIfile\fP\fB\fP, \fB42SH\fP will read the commands from it.

.SH OPTIONS
.PP
.PD 0
.TP 10
.BI \-c "\| string\^"
If the
.B \-c
option is present, then commands are read from
.IR string .
If there are arguments after the
.IR string ,
they are assigned to the positional parameters, starting with
.BR $0 .

.TP
.BI --ast-print
 If the --ast-print \fB\fP\foption\fP\fB\fP is present, it will produce a file ast.dot containing the tree resulting form the parser.

.SH BUGS
.LP
- The Ast printer sometimes shows an unwanted andor node in case of an if command.
.LP
- A leak can occur in case of an if command
.LP
- Not handling functions declarations, pipe commands, redirections, for commands, case commands, until commands, and variables assignment.

.SH AUTHORS
.LP
BOILLOT Ulysse
.LP
BEN MRAD Hanna
.LP
DE OLIVEIRA Guillaume
.LP
LATEREM Hamza
.LP
NGUYEN Viet dung


